<template>
<!--返回到游戏大厅-->
  <div>
    <button @click="gameHome">游戏大厅</button>
  </div>
</template>

<script>
export default {
  name: "GameReturn",
  methods:{
    gameHome(){
      this.$emit("selectGame", 0);
    }
  }
}
</script>

<style scoped>
div{
  padding: 5px;
  margin: 5px;
  background: #d79303;
}
div:nth-child(n){
  vertical-align: middle;
}
button{
  border: 1px solid;
  padding: 5px;
  border-radius: 3px;
  font-size: 30px;
  cursor: pointer;
}
</style>